package com.yexin.qingzhou.service;

import com.yexin.qingzhou.entity.ChatMessage;
import com.yexin.qingzhou.dto.ConversationDTO;
import java.util.List;

public interface ChatHistoryService {
    void saveChat(Long userId, ChatMessage message, Long conversationId);
    List<ChatMessage> getHistoryByConversationId(Long conversationId);
    Long createNewConversation(Long userId);
    List<ConversationDTO> getUserConversations(Long userId);
    void deleteConversation(Long userId, Long conversationId);
} 